home *** CD-ROM | disk | FTP | other *** search
- -----------------------------------------------------------------
- compr20.doc - last modified Sat May 26 22:52:40 1990 CDT
- -----------------------------------------------------------------
- Universal archive utilities package - Mark B. Foster
-
- Differences from version 1.9 are signaled by a percent sign. They
- are summarized in the 'utility history' section of this file.
-
- -----------------------------------------------------------------
- % The utilities were assembled using A86 v3.22. Special thanks to
- % Pat Myrto, Mike Arst, Patrick Lee, and Eric Isaacson.
-
- Feel free to contact me with suggestions or problems. I receive
- email at the following places:
-
- CompuServe: 72261,2531
- % Internet: 72261,2531@compuserve.com
- GEnie: M.FOSTER3
-
- If you have renamed any of these utilities or any of the supported
- compression programs, let me know and I will assemble a version
- with the names you have chosen.
-
- Although the utilities have been extensively tested, and all known
- bugs eradicated, I explicitly disclaim any warranty whatsoever for
- them. Any and all risk of using them is yours alone.
-
- -----------------------------------------------------------------
- Introduction.
- -----------------------------------------------------------------
- This archive contains six extremely fast utilities that simplify
- the routine chores of extracting from, freshening, deleting
- from, and viewing file lists in compressed files:
-
- xt - extractor for zip, lzh, lzs, pak, arc, dwc, md, zoo,
- sh, uue, tar, Z, sit, pit archives
- fr - freshener for zip, lzh, lzs, pak, arc, zoo, dwc
- archives
- % dl - deleter for zip, lzh, lzs, pak, arc, zoo, dwc
- % archives
- vw - file lister for zip, lzh, lzs, pak, arc, dwc, md,
- zoo, tar, sit, pit archives
- mn - 'more' pipe (nansi.sys version) for use with vw, or
- as a standalone filter
- ma - 'more' pipe (ansi.sys version) for use with vw, or
- as a standalone filter
-
- -----------------------------------------------------------------
- Program syntax.
- -----------------------------------------------------------------
- xt usage: xt [-o -u] archive [filename{s}]
-
- -o overwrite existing output files
- -u unlink (delete) archive(s) after file extraction
-
- -----------------------------------------------------------------
- fr usage: fr [-c -s] archive [filename{s}]
-
- -c set pak v2.x to use Crush for true-pak archives
-
- -s set pkzip v1.1 to use Shrink
- set pak to use Squash for arc-format archives
-
- The 'c' switch may be set as the default by changing the byte at
- debug offset :0294 from 00 to ff. The 's' switch may be set as
- the default by changing the byte at offset :0295 from 00 to ff.
-
- -----------------------------------------------------------------
- % dl usage: dl archive filename[s]
-
- -----------------------------------------------------------------
- Vw usage: vw archive [filename{s}] [| mr]
-
- -----------------------------------------------------------------
- mr usage: [vw archive |] mr [filename]
-
- This syntax is to be used after selecting either mn.com or ma.com
- and renaming it 'mr.com'.
-
- -----------------------------------------------------------------
- General notes for xt, fr, dl, vw.
- -----------------------------------------------------------------
- Archive extensions need not be specified.
-
- DOS wildcards and pathnames are supported. For example, 'xt *' is
- equivalent to 'xt *.*', 'xt foo*' to 'xt foo*.*', and so on.
-
- The '/' switch character may be used instead of '-'.
-
- The compression programs must reside in the same directory as the
- utilities or on the path.
-
- These utilities return a nonzero errorlevel if an they encounter an
- error during execution.
-
- A cryptic usage message may be viewed by entering 'xt', 'fr', 'dl',
- or 'vw' with no parameters at the DOS prompt.
-
- The version id and usage message may be viewed with the command
- 'type n' (where 'n' is the utility name) at the DOS prompt.
-
- -----------------------------------------------------------------
- Specific notes for xt, fr, dl, vw.
- -----------------------------------------------------------------
- Each of the tables in this section lists the programs supported by
- these utilities and the switches passed to them. A dot ('.')
- indicates no arguments. Blanks denote that an option is not used.
-
- -----------------------------------------------------------------
- Pkzip/unzip notes.
-
- For pkzip.exe v1.1, fr defaults to Implode; the 's' switch sets
- pkzip to use Shrink instead.
-
- +-------+------+----+-------+------+-------+----+----+
- | pgm | vers | xt | xt -o | fr | fr -s | dl | vw |
- +-------+------+----+-------+------+-------+----+----+
- | pkzip | 1.1 | | | -f | -fes | -d | |
- +-------+------+----+-------+------+-------+----+----+
- |pkunzip| 1.1 | . | -o | | | | -v |
- +-------+------+----+-------+------+-------+----+----+
-
- -----------------------------------------------------------------
- Pak notes.
-
- With true-pak archives, fr sets pak.exe to use Distill by default.
- The command 'fr -c' sets pak to use Crush instead.
-
- Pak requires about 165k of memory. When 165k is not available,
- the utilities abort with a status message.
-
- +-------+------+----+-------+----+-------+----+----+
- | pgm | vers | xt | xt -o | fr | fr -c | dl | vw |
- +-------+------+----+-------+----+-------+----+----+
- | pak | 2.10 | e | e /wa | f | f /cr | d | v |
- +-------+------+----+-------+----+-------+----+----+
-
- -----------------------------------------------------------------
- Arc-format notes.
-
- Xt and vw look first for pkxarc.exe, then for pak.exe if pkxarc
- is not found; fr and dl look first for pkarc, then for pak.exe.
-
- If pak is used for arc-format archives, fr sets pak to use Crunch
- by default. The command 'fr -s' sets pak to use Squash instead.
-
- The utilities are compatible with arc-format archives created
- using pre-Crunch compression methods.
-
- Pkpak.exe and pkunpak.exe can be used by renaming them pkarc.exe
- and pkxarc.exe respectively.
-
- When less than 165k of memory is available, xt and vw bypass pak
- and look for pkxarc instead; fr and dl bypass pak and look for
- pkarc. An appropriate status message is displayed.
-
- +-------+------+----+-------+------+-------+----+----+
- | pgm | vers | xt | xt -o | fr | fr -s | dl | vw |
- +-------+------+----+-------+------+-------+----+----+
- | pak | 2.10 | e | e /wa | f /c | f /s | d | v |
- +-------+------+----+-------+------+-------+----+----+
- | pkarc | 3.6 | | | f | | d | |
- +-------+------+----+-------+------+-------+----+----+
- |pkxarc | 3.6 | . | -r | | | |-vv |
- +-------+------+----+-------+------+-------+----+----+
-
- -----------------------------------------------------------------
- Lharc and larc notes.
-
- For lzs archives xt, dl, and vw look first for larc.exe, then
- for lharc.exe if larc is not found. Because larc and lharc use
- incompatible compression methods, fr looks only for larc.
-
- +-------+------+------+-------+----+----+----+
- | pgm | vers | xt | xt -o | fr | dl | vw |
- +-------+------+------+-------+----+----+----+
- | lharc |1.13c | e /c | e /cm | f | d | l |
- +-------+------+------+-------+----+----+----+
- | larc | 3.3 | e /c |e /c/o | f | d | l |
- +-------+------+------+-------+----+----+----+
-
- -----------------------------------------------------------------
- Dwc and mdcd notes.
-
- +-------+------+----+-------+----+----+----+
- | pgm | vers | xt | xt -o | fr | dl | vw |
- +-------+------+----+-------+----+----+----+
- | dwc |a5.01 | e | ew | fz | d | v |
- +-------+------+----+-------+----+----+----+
- | mdcd | 1.0 | d | r | | | l |
- +-------+------+----+-------+----+----+----+
-
- -----------------------------------------------------------------
- Zoo and looz notes.
-
- Xt and vw look first for looz.exe, then for zoo.exe if looz
- is not found.
-
- Fr first directs zoo to freshen an archive, then to pack it. Dl
- first directs zoo to delete from an archive, then to pack it.
-
- % Fr and dl require one or more filename arguments.
-
- The utilities also operate upon bak archives created by zoo.
-
- +-------+------+----+-------+------+----+----+
- | pgm | vers | xt | xt -o | fr | dl | vw |
- +-------+------+----+-------+------+----+----+
- | zoo | 2.01 | x | xSO | auP: | DP | l |
- +-------+------+----+-------+------+----+----+
- | looz | 2.1 | x | | | | l |
- +-------+------+----+-------+------+----+----+
-
- -----------------------------------------------------------------
- Shar and uudecode notes.
-
- These utilities are DOS ports of their Un*x namesakes. Shar is
- used on Un*x systems for concatenating source code and other text
- files for electronic mail transfer. Uudecode and its companion
- utility uuencode are used to transfer binary files via electronic
- mail.
-
- Xt should work fine with standard sh archives, as long as any
- prepended text is less than 256 characters in length. This limit
- might be removed upon a showing of interest.
-
- When extracting from a sh archive, shar automatically overwrites
- files of the same name if they exist in the target directory.
- Thus, the command 'xt foo.sh bar.doc' will overwrite bar.doc if
- it exists in the current directory.
-
- +--------+------------------------|----+
- | pgm | version | xt |
- +--------+------------------------+----+
- | shar | unknown - 09/14/87 | -u |
- +--------+------------------------+----+
- |uudecode| Richard Marks - v3.07 | . |
- +--------+------------------------+----+
-
- -----------------------------------------------------------------
- Tar and compress notes.
-
- These utilities are DOS ports of their Un*x namesakes. They are
- often used together for maximal compression, and are especially
- useful for transferring files between DOS and Un*x.
-
- Compress requires about 450k of memory. If less than 450k is
- available, xt aborts with a status message.
-
- Compress cannot uncompress Z archives nondestructively. Thus,
- 'xt foo.z' automatically overwrites 'foo' if it exists in the
- current directory, as well as unlinking 'foo.z'.
-
- +--------+------------------------|------+-----+-----+
- | pgm | version | xt |xt -o| vw |
- +--------+------------------------+------+-----+-----+
- | tar | Eric Roskos - 10/24/88 | xfvk | xfv | tfv |
- +--------+------------------------+------+-----+-----+
- |compress| Pat Myrto - 06/19/88 | -dv | | |
- +--------+------------------------+------+-----+-----+
-
- -----------------------------------------------------------------
- Unstufit and unpackit notes.
-
- These utilities are useful for transferring sit (stuffit) and pit
- (packit) archives from the Macintosh O/S to DOS.
-
- For sit archives, xt and vw search first for unstufit.exe, then
- for unsit.exe if unstufit is not found.
-
- +--------+------------------------|-----+----+
- | pgm | version | xt | vw |
- +--------+------------------------+-----+----+
- | unsit | Brian Uechi - v2.3 | e | v |
- +--------+------------------------+-----+----+
- |unstufit| Scott McGinnis - v1.0 | /de | v |
- +--------+------------------------+-----+----+
- |unpackit| Scott McGinnis - v1.0 | /de | v |
- +--------+------------------------+-----+----+
-
- -----------------------------------------------------------------
- Specific notes for mr.
- -----------------------------------------------------------------
- Two versions of mr are included: mn.com (for use with the device
- driver nansi.sys), and ma.com (for use with ansi.sys). Mn fully
- exploits nansi's blazingly fast screen control and is highly
- recommended. Nansi.sys is readily available on many BBSs.
-
- The following discussion assumes one of the two versions has been
- selected and renamed 'mr.com'.
-
- Mr is an improved version of the DOS 'more' utility. It may be
- used with vw to pause the display when viewing long archive file
- lists. For example:
-
- vw * | mr
-
- vw foo.zip | mr
-
- vw ??.lzh | mr
-
- Mr may also be used by itself as a simple text-viewing utility.
- For example:
-
- mr foo.doc
-
- Although mr accepts DOS pathnames, it does not as yet accept
- wildcards.
-
- The following commands may be issued at the '--More--' prompt:
-
- 'l' or <cr> line-by-line scroll
- 'h' or 'd' half-screen scroll (13 lines)
- 'f' or <sp> full-screen scroll (24 lines)
- 'k' or 'q' keep screen and quit
- 'c' or 'x' clear screen and quit
-
- Pressing any other key brings up a brief help menu.
-
- If 'mr' is entered without arguments, the computer will appear to
- hang while mr waits for standard input. Pressing f6 or ctrl-z
- terminates mr and exits to DOS.
-
- The mr version id and usage message may be viewed with the command
- 'type mr.com' at the DOS prompt.
-
- -----------------------------------------------------------------
- Utility history.
- -----------------------------------------------------------------
- compr20 05-30-90 Initial release of dl.com.
- Updated utilities for pkzip/unzip v1.1.
- Minor optimizations of fr.com.
-
- -----------------------------------------------------------------
-
- compr19 01-20-90 Reversed arc-format pak and pkarc/xarc
- precedence.
- Reversed zoo and looz precedence.
- Reversed unsit and unstufit precedence.
-
- -----------------------------------------------------------------
- compr18 01-01-90 Added support for unsit v2.3.
- Removed support for pkzip/unzip v0.92.
- Improved xt and vw tar archive parsing
- routine to reduce number of false hits.
-
- -----------------------------------------------------------------
- compr17 12-14-89 Added support for sh (shar), uue (uuencode),
- tar, Z (compress), sit (stuffit), and pit
- (packit) archives.
- Added standard key choices at 'mr' prompt.
- Added pak bypass based on available memory.
- Corrected parameter error in xt.
- Corrected name of larc.exe in fr and an error
- in 'lharc and larc notes'.
- Renamed mr_n.com 'mn.com', and mr_a.com
- 'ma.com'.
-
- -----------------------------------------------------------------
- compr16 08-26-89 Initial release of mr.com.
- Added support for larc v3.3.
- Concatenated usage message to version id.
- Corrected parsing of lzh archives.
- Made fr pkzip defaults user-configurable.
- Changed fr arc-format pak default to Crunch.
- Merged fr switch letters and operation.
- Removed fr switch letter configurability.
- Reversed fr arc-format pak and pkarc/xarc
- precedence.
- Adjusted fr zoo and looz precedence.
- Added history section to dox.
-
- -----------------------------------------------------------------
- compr15 08-12-89 Added support for pkzip/unzip v1.0x.
- Added support for all pre-Crunch arc formats.
- Changed fr pkzip default to Implode for v1.01.
- Made fr pak v2.x default user-configurable.
- Added fr 'S' switch.
- Made fr switch letters user-configurable.
- Adjusted fr arc-format pak and pkarc/xarc
- precedence.
- Optimized utilities for A86 v3.21 assembler.
-
- -----------------------------------------------------------------
- compr14 08-02-89 Added support for pak v2.x.
- Removed support for pkpak/unpak and tau.
- Added version id.
- Changed fr true-pak pak default to Distill for
- v2.x.
- Added fr 'C' switch.
- Adjusted fr zoo and looz precedence.
-
- -----------------------------------------------------------------
- compr13 07-27-89 Modified error handling and display.
- Corrected parsing of Packed arc-format archives.
-
- -----------------------------------------------------------------
- compr12 07-20-89 Added support for pkpak/unpak v3.61.
- Added fr 'c' and 's' switches.
- Changed fr pkzip v0.92 default to Reduce4.
-
- -----------------------------------------------------------------
- compr11 07-11-89 Initial release of fr.com and vw.com.
- Fixed parsing of Squashed true-pak archives.
- Added archiver version and switch table to dox.
-
- -----------------------------------------------------------------
- xt10 07-05-89 Initial release of xt.com.
-
- -----------------------------------------------------------------
-